package com.villaday.idf.model;

/**
 * Created by tudou on 2018/9/8.
 */

public class PayOrdersEntity {


    /**
     * code : 200
     * status : success
     * msg : success
     * body : {"actualPrice":1504000,"allowPayment":true,"currentPrice":1504000,"discountAmount":0,"linkman":"都好喝","mobile":"13632840502","orderNo":"VFM180908-300093","originalPrice":1504000,"product":{"desc":"整屋190平米 3室2厅6床 宜住8人","id":"dzWKoGVWk9","imageUrl":"https://img.villaday.com/images/house_426/21930/21930-10-59917.jpg?x-oss-process=image/resize,m_fill,w_121,h_78,limit_0/sharpen,100","name":"莱蒙水榭湾3房6床复式套房"},"type":0,"walletDeductibleAmount":0}
     */

    private String code;
    private String status;
    private String msg;
    private BodyEntity body;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public BodyEntity getBody() {
        return body;
    }

    public void setBody(BodyEntity body) {
        this.body = body;
    }

    public static class BodyEntity {
        /**
         * actualPrice : 1504000
         * allowPayment : true
         * currentPrice : 1504000
         * discountAmount : 0
         * linkman : 都好喝
         * mobile : 13632840502
         * orderNo : VFM180908-300093
         * originalPrice : 1504000
         * product : {"desc":"整屋190平米 3室2厅6床 宜住8人","id":"dzWKoGVWk9","imageUrl":"https://img.villaday.com/images/house_426/21930/21930-10-59917.jpg?x-oss-process=image/resize,m_fill,w_121,h_78,limit_0/sharpen,100","name":"莱蒙水榭湾3房6床复式套房"}
         * type : 0
         * walletDeductibleAmount : 0
         */

        private int actualPrice;
        private String actualPriceValue;

        private boolean allowPayment;
        private int currentPrice;
        private String currentPriceValue;

        private int discountAmount;
        private String discountAmountValue;

        private String linkman;
        private String mobile;
        private String orderNo;
        private int originalPrice;
        private String originalPriceValue;

        private ProductEntity product;
        private int type;
        private int walletDeductibleAmount;
        private String walletDeductibleAmountValue;

      /* "depositAmountValue": "string,押金：元",
        "depositType": "integer,押金加收方式，0：线上收，1：线下收，其它不收",
        "stayDiscountAmountValue": "string,连住优惠金额，单位：元",
        "email": "string,邮箱",
        "identityNumber": "string,证件号"*/



        private String depositAmountValue;
        private int depositType;
        private String stayDiscountAmountValue;
        private String email;
        private String identityNumber;

        public String getActualPriceValue() {
            return actualPriceValue;
        }

        public void setActualPriceValue(String actualPriceValue) {
            this.actualPriceValue = actualPriceValue;
        }

        public String getCurrentPriceValue() {
            return currentPriceValue;
        }

        public void setCurrentPriceValue(String currentPriceValue) {
            this.currentPriceValue = currentPriceValue;
        }

        public String getDiscountAmountValue() {
            return discountAmountValue;
        }

        public void setDiscountAmountValue(String discountAmountValue) {
            this.discountAmountValue = discountAmountValue;
        }

        public String getOriginalPriceValue() {
            return originalPriceValue;
        }

        public void setOriginalPriceValue(String originalPriceValue) {
            this.originalPriceValue = originalPriceValue;
        }

        public String getWalletDeductibleAmountValue() {
            return walletDeductibleAmountValue;
        }

        public void setWalletDeductibleAmountValue(String walletDeductibleAmountValue) {
            this.walletDeductibleAmountValue = walletDeductibleAmountValue;
        }

        public String getDepositAmountValue() {
            return depositAmountValue;
        }

        public void setDepositAmountValue(String depositAmountValue) {
            this.depositAmountValue = depositAmountValue;
        }

        public int getDepositType() {
            return depositType;
        }

        public void setDepositType(int depositType) {
            this.depositType = depositType;
        }

        public String getStayDiscountAmountValue() {
            return stayDiscountAmountValue;
        }

        public void setStayDiscountAmountValue(String stayDiscountAmountValue) {
            this.stayDiscountAmountValue = stayDiscountAmountValue;
        }

        public String getEmail() {
            return email;
        }

        public void setEmail(String email) {
            this.email = email;
        }

        public String getIdentityNumber() {
            return identityNumber;
        }

        public void setIdentityNumber(String identityNumber) {
            this.identityNumber = identityNumber;
        }

        public int getActualPrice() {
            return actualPrice;
        }

        public void setActualPrice(int actualPrice) {
            this.actualPrice = actualPrice;
        }

        public boolean isAllowPayment() {
            return allowPayment;
        }

        public void setAllowPayment(boolean allowPayment) {
            this.allowPayment = allowPayment;
        }

        public int getCurrentPrice() {
            return currentPrice;
        }

        public void setCurrentPrice(int currentPrice) {
            this.currentPrice = currentPrice;
        }

        public int getDiscountAmount() {
            return discountAmount;
        }

        public void setDiscountAmount(int discountAmount) {
            this.discountAmount = discountAmount;
        }

        public String getLinkman() {
            return linkman;
        }

        public void setLinkman(String linkman) {
            this.linkman = linkman;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getOrderNo() {
            return orderNo;
        }

        public void setOrderNo(String orderNo) {
            this.orderNo = orderNo;
        }

        public int getOriginalPrice() {
            return originalPrice;
        }

        public void setOriginalPrice(int originalPrice) {
            this.originalPrice = originalPrice;
        }

        public ProductEntity getProduct() {
            return product;
        }

        public void setProduct(ProductEntity product) {
            this.product = product;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public int getWalletDeductibleAmount() {
            return walletDeductibleAmount;
        }

        public void setWalletDeductibleAmount(int walletDeductibleAmount) {
            this.walletDeductibleAmount = walletDeductibleAmount;
        }

        public static class ProductEntity {
            /**
             * desc : 整屋190平米 3室2厅6床 宜住8人
             * id : dzWKoGVWk9
             * imageUrl : https://img.villaday.com/images/house_426/21930/21930-10-59917.jpg?x-oss-process=image/resize,m_fill,w_121,h_78,limit_0/sharpen,100
             * name : 莱蒙水榭湾3房6床复式套房
             */

            private String desc;
            private String id;
            private String imageUrl;
            private String name;

            private long currentPrice;
            private String currentPriceValue;

            public String getCurrentPriceValue() {
                return currentPriceValue;
            }

            public void setCurrentPriceValue(String currentPriceValue) {
                this.currentPriceValue = currentPriceValue;
            }

            public long getCurrentPrice() {
                return currentPrice;
            }

            public void setCurrentPrice(long currentPrice) {
                this.currentPrice = currentPrice;
            }

            public String getDesc() {
                return desc;
            }

            public void setDesc(String desc) {
                this.desc = desc;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getImageUrl() {
                return imageUrl;
            }

            public void setImageUrl(String imageUrl) {
                this.imageUrl = imageUrl;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }
    }
}
